﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Master.Master" AutoEventWireup="true" CodeBehind="wFrmManualesPartesVehiculosSistemaSub.aspx.cs" Inherits="Crosland.Automotriz.Web.Repuestos.wFrmManualesPartesVehiculosSistemaSub" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPopupControl" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxUploadControl" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">
    <script type="text/javascript">
    function soloLetras(e) {
        key = e.keyCode || e.which;
        tecla = String.fromCharCode(key).toLowerCase();
        letras = " áéíóúabcdefghijklmnñopqrstuvwxyz1234567890";
        especiales = [38, 40, 41, 47, 46];
        tecla_especial = false
        for (var i in especiales) {
            if (key == especiales[i]) {
                tecla_especial = true;
                break;
            }
        }

        if (letras.indexOf(tecla) == -1 && !tecla_especial) {
            return false;
        }
    }
</script>
    <script type="text/javascript">
    // <![CDATA[

        function ShowCreateAccountWindow() {
            pcModificarSistema.Show();

        }
        function ShowCreate() {
            pcModificarSistema.Hide();

        }

        function ShowCreateAccountWindow2() {
            pcNuevoSistema.Show();


        }

        function ShowCreateAccountWindow3() {
            popupmsj.Show();

        }


        function ShowCreateAccountWindow7() {
            popupUpdate.Show();
        }




        function ShowCreateAccountWindow4() {
            popupOK.Show();
        }



        function ShowErrorAnular() {
            popupErrorAnular.Show();
        }

        function ShowAnularOK() {
            popupAnularOK.Show();
        }

        function ShowError() {
            popupError.Show();
        }



    // ]]> 
    </script>


      <script type="text/javascript">


          function pageLoad() {

              var control = document.getElementById('ctl00_cphMain_hfIndicador');
              cambiarImagenHeader();

              if (control.value == 'S') {
                  $find('<%= ((AjaxControlToolkit.CollapsiblePanelExtender)this.Master.FindControl("cpeMenuGeneral")).BehaviorID %>')._doClose();

                  control.value = 'N';
              }


          }

                

                
               

</script>




    <div class="main-header" style="width:100%">
                <div class="main-titulo">
                    Administración Sub Sistemas</div>
               
</div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <div class="content-form">
     <asp:HiddenField ID="hfIndicador" runat="server" Value="S" />  
                
                   <table>
                   <tr>
                   <td>
                       <dx:ASPxButton ID="ASPxButton1" runat="server" Text="Nuevo" 
                           CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                           CssPostfix="Office2010Blue" 
                           SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                           AutoPostBack="False" Width="100px">
                           <ClientSideEvents Click="function(s, e) {
	ShowCreateAccountWindow2();
}" />
                       </dx:ASPxButton>
                   </td>

                    <td>
                       <dx:ASPxButton ID="btnModificarSubSistema" runat="server" Text="Modificar" 
                           CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                           CssPostfix="Office2010Blue" 
                           SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                            AutoPostBack="False" onclick="btnModificarSubSistema_Click" Width="100px">
                       </dx:ASPxButton>
                   </td>
                    <td>
                       <dx:ASPxButton ID="btnAnular" runat="server" Text="Anular" 
                           CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                           CssPostfix="Office2010Blue" 
                           SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                            onclick="btnAnular_Click" Width="100px">
                       </dx:ASPxButton>
                   </td>
                     <td>
                       <dx:ASPxButton ID="btnSalir" runat="server" Text="Salir" 
                           CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                           CssPostfix="Office2010Blue" 
                           SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                             onclick="btnSalir_Click" Width="100px">
                       </dx:ASPxButton>
                   </td>
                   </tr>
           
                </table>    
             
                 <dx:aspxgridview ID="gvlistado" runat="server" AutoGenerateColumns="False" 
                     CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                     CssPostfix="Office2010Blue" 
                     KeyFieldName="ID_SISTEMA" 
                         onafterperformcallback="gvlistado_AfterPerformCallback" 
            Width="100%" onhtmlrowprepared="gvlistado_HtmlRowPrepared">
                     <Columns>
                         <dx:GridViewDataTextColumn Caption="Descripción Ingles" 
                             FieldName="DES_SISTEMA_INGLES" VisibleIndex="2" Width="250px">
                             <HeaderStyle HorizontalAlign="Center" />
                         </dx:GridViewDataTextColumn>
                         <dx:GridViewDataTextColumn Caption="Id" 
                             FieldName="ID_SISTEMA" VisibleIndex="0" Width="50px">
                             <HeaderStyle HorizontalAlign="Center" />
                             <CellStyle HorizontalAlign="Center">
                             </CellStyle>
                         </dx:GridViewDataTextColumn>
                         <dx:GridViewDataTextColumn Caption="Descripción Español" 
                             FieldName="DES_SISTEMA" VisibleIndex="1" Width="250px">
                             <HeaderStyle HorizontalAlign="Center" />

                             <CellStyle HorizontalAlign="Left">
                             </CellStyle>

                         </dx:GridViewDataTextColumn>
                         <dx:GridViewDataTextColumn Caption="Indicador" FieldName="IND_ELIMINADO" 
                             VisibleIndex="3" Width="30px">
                             <DataItemTemplate>
                                 <asp:Label ID="Label3" runat="server" Font-Bold="False" ForeColor="#333333" Text='<%# (Eval("IND_ELIMINAR").ToString()=="0")? "Activo": "Inactivo" %>'></asp:Label>
                             </DataItemTemplate>
                             <HeaderStyle HorizontalAlign="Center" />
                             <CellStyle HorizontalAlign="Center">
                             </CellStyle>
                         </dx:GridViewDataTextColumn>
                     </Columns>
                     <SettingsBehavior AllowFocusedRow="True" />
                     <SettingsPager PageSize="30">
                     </SettingsPager>
                     <Settings ShowFilterRow="True" />
                     <images spritecssfilepath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                         <loadingpanelonstatusbar url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                         </loadingpanelonstatusbar>
                         <loadingpanel url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                         </loadingpanel>
                     </images>
                     <imagesfiltercontrol>
                         <loadingpanel url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                         </loadingpanel>
                     </imagesfiltercontrol>
                     <styles cssfilepath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                         csspostfix="Office2010Blue">
                         <header imagespacing="5px" sortingimagespacing="5px">
                         </header>
                         <loadingpanel imagespacing="5px">
                         </loadingpanel>
                     </styles>
                     <stylespager>
                         <pagenumber forecolor="#3E4846">
                         </pagenumber>
                         <summary forecolor="#1E395B">
                         </summary>
                     </stylespager>
                     <styleseditors buttoneditcellspacing="0">
                         <progressbar height="21px">
                         </progressbar>
                     </styleseditors>
                 </dx:aspxgridview>
               
                <dx:ASPxPopupControl ID="pcModificarSistema" runat="server" Height="197px" 
                    Width="500px" ClientInstanceName="pcModificarSistema" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" EnableViewState="False" 
                    HeaderText="Modificar Sub Sistema" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    AllowDragging="True" CloseAction="CloseButton" Modal="True" 
            EnableHotTrack="False">
                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                    </LoadingPanelImage>
                    <HeaderStyle>
                    <Paddings PaddingLeft="7px" />
                    </HeaderStyle>
                    <LoadingPanelStyle ImageSpacing="5px">
                    </LoadingPanelStyle>
                    <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server" SupportsDisabledAttribute="True">
     <div class="content-form">
     


<table cellpadding="0" cellspacing="0">



                            <tr>
                            <td width="200px">
                                Descripción Español :</td>
                            <td>
                                <dx:ASPxTextBox ID="txtDescripcionEsp" runat="server" Width="300px" 
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                    CssPostfix="Office2010Blue" 
                                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <Paddings Padding="4px" />
                                </dx:ASPxTextBox>
                                </td>
                            
                            <td>
                            
                                &nbsp;
                            </td>
                            <td>
                                <dx:ASPxTextBox ID="txtId_Sistema" runat="server" ClientVisible="False" 
                                    Width="1px">
                                </dx:ASPxTextBox>
                                </td>
                            </tr>
                             <tr>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                            </tr>
                             <tr>
                            <td width="200">
                                <asp:Label ID="Label2" runat="server" BorderStyle="None" 
                                    Text="Descripción Ingles :"></asp:Label>
                                 &nbsp;&nbsp;&nbsp;&nbsp;
                                 </td>
                            <td>
                                <dx:ASPxTextBox ID="txtDescripcionIng"  runat="server" Width="300px" 
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                    CssPostfix="Office2010Blue" 
                                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <Paddings Padding="4px" />
                                </dx:ASPxTextBox>
                                 </td>
                            
                            <td>
                            
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;</td>
                            </tr>
                             <tr>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                            </tr>
                             <tr>
                            <td>
                                <dx:ASPxLabel ID="ASPxLabel7" runat="server" Text="Activo (Si):" 
                                    Visible="False">
                                </dx:ASPxLabel>
                                 </td>
                            <td>
                                <dx:ASPxCheckBox ID="chekedEstadoM" runat="server" 
                                    CheckState="Unchecked" Theme="Office2010Blue" AutoPostBack="True">
                                </dx:ASPxCheckBox>
                                 </td>
                            
                            <td>
                            
                                &nbsp;
                            </td>
                            <td>
                                 </td>
                            </tr>
                             <tr>
                            <td>
                                
                            
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            
                            <td>
                            
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;</td>
                            </tr>

    </table>
    <table>
                   <tr>
                   <td>
                       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;</td>

                    <td>
                        <dx:ASPxButton ID="btnGrabarSistema" runat="server" 
                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                            CssPostfix="Office2010Blue" OnClick="btnGrabarSistema_Click" 
                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                            Text="Grabar" Width="100px">
                            <ClientSideEvents Click="function(s, e) {
	pcModificarSistema.Hide();
}" />
                        </dx:ASPxButton>
                       </td>
                    <td>
                        &nbsp;</td>
                     <td>
                       <dx:ASPxButton ID="btnSalirModificar" runat="server" Text="Cancelar" 
                           CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                           CssPostfix="Office2010Blue" 
                           SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Width="100px">
                           <ClientSideEvents Click="function(s, e) {
	e.processOnServer = true;
    pcModificarSistema.Hide();

}" />
                       </dx:ASPxButton>
                   </td>
                   </tr>
           
                </table>
    </div>
   </dx:PopupControlContentControl>

</ContentCollection>
   </dx:ASPxPopupControl>
                <dx:ASPxPopupControl ID="pcNuevoSistema" runat="server" Height="156px" 
                    Width="500px" ClientInstanceName="pcNuevoSistema" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" EnableViewState="False" 
                    HeaderText="Nuevo Sub Sistema" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    AllowDragging="True" CloseAction="CloseButton" Modal="True" 
            EnableHotTrack="False">
                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                    </LoadingPanelImage>
                    <HeaderStyle>
                    <Paddings PaddingLeft="7px" />
                    </HeaderStyle>
                    <LoadingPanelStyle ImageSpacing="5px">
                    </LoadingPanelStyle>
                    <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl2" runat="server" 
                            SupportsDisabledAttribute="True">
     <div class="content-form">
     <table cellpadding="0" cellspacing="0">



                            <tr>
                            <td width="200px">
                                Descripción Español :</td>
                            <td>
                                <dx:ASPxTextBox ID="txtDescripcion" runat="server" Width="300px" 
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                    CssPostfix="Office2010Blue" 
                                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <Paddings Padding="4px" />
                                </dx:ASPxTextBox>
                                </td>
                            
                            <td>
                            
                                &nbsp;
                            </td>
                            <td>
                                <dx:ASPxTextBox ID="ASPxTextBox2" runat="server" ClientVisible="False" 
                                    Width="1px">
                                </dx:ASPxTextBox>
                                </td>
                            </tr>
                             <tr>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                            </tr>
                             <tr>
                            <td width="200">
                                <asp:Label ID="Label1" runat="server" BorderStyle="None" 
                                    Text="Descripción Ingles :"></asp:Label>
                                 &nbsp;&nbsp;&nbsp;&nbsp;
                                 </td>
                            <td>
                                <dx:ASPxTextBox ID="txtDescripcionIngles" runat="server" Width="300px" 
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                    CssPostfix="Office2010Blue" 
                                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <Paddings Padding="4px" />
                                </dx:ASPxTextBox>
                                 </td>
                            
                            <td>
                            
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;</td>
                            </tr>
                             <tr>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                                 <td>
                                     &nbsp;</td>
                            </tr>
                             <tr>
                            <td>
                                <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="Activo (Si):">
                                </dx:ASPxLabel>
                                 </td>
                            <td>
                                <dx:ASPxCheckBox ID="chekedEstadoN" runat="server" Checked="True" 
                                    CheckState="Checked" Theme="Office2010Blue" AutoPostBack="True">
                                </dx:ASPxCheckBox>
                                 </td>
                            
                            <td>
                            
                                &nbsp;
                            </td>
                            <td>
                                 </td>
                            </tr>
                             <tr>
                            <td>
                                
                            
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            
                            <td>
                            
                                &nbsp;
                            </td>
                            <td>
                                &nbsp;</td>
                            </tr>

    </table>


         <table>
                   <tr>
                   <td>
                       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>

                    <td>
                        <dx:ASPxButton ID="btnGrabarNew" runat="server" 
                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                            CssPostfix="Office2010Blue" OnClick="btnGrabarNew_Click" 
                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                            Text="Grabar" Width="100px">
                            <ClientSideEvents Click="function(s, e) {
	pcNuevoSistema.Hide();
}" />
                        </dx:ASPxButton>
                       </td>
                    <td>
                        &nbsp;</td>
                     <td>
                       <dx:ASPxButton ID="ASPxButton12" runat="server" Text="Cancelar" 
                           CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                           CssPostfix="Office2010Blue" 
                           SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Width="100px">
                           <ClientSideEvents Click="function(s, e) {
	e.processOnServer = true;
    pcNuevoSistema.Hide();

}" />
                       </dx:ASPxButton>
                   </td>
                   </tr>
           
                </table>

    </div>
   </dx:PopupControlContentControl>

</ContentCollection>
   </dx:ASPxPopupControl>
   <dx:ASPxPopupControl ID="popupOK" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupOK" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" 
                    EnableViewState="False" HeaderText="Mensaje" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
             Width="300px" EnableHotTrack="False">
                
                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                    </LoadingPanelImage>
                    <HeaderStyle>
                    <Paddings PaddingLeft="7px" />
                    </HeaderStyle>
                
                    <LoadingPanelStyle ImageSpacing="5px">
                    </LoadingPanelStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl4" runat="server" SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel5" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent5" runat="server">
                        <table>
                        <tr>
                        <td colspan="2">
                        
                        
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;Se agregó correctamente !&nbsp;</td>
                        
                        </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                        <tr>
                        <td>
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
                        <td>
                        
                            <dx:ASPxButton ID="ASPxButton8" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                Width="100px">
                                <ClientSideEvents Click="function(s, e) {
	popupOK.Hide();
}" />
                            </dx:ASPxButton>
                        </td>
                        <td></td>
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>
   <dx:ASPxPopupControl ID="popupUpdate" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupUpdate" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" 
                    EnableViewState="False" HeaderText="Mensaje" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
             Width="300px" EnableHotTrack="False">
                
                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                    </LoadingPanelImage>
                    <HeaderStyle>
                    <Paddings PaddingLeft="7px" />
                    </HeaderStyle>
                
                    <LoadingPanelStyle ImageSpacing="5px">
                    </LoadingPanelStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl5" runat="server" 
                         SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel6" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent6" runat="server">
                        <table>
                        <tr>
                        <td colspan="2">
                        
                        
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; Se actualizó correctamente !</td>
                        
                        </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                        <tr>
                        <td>
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                        <td>
                        
                            <dx:ASPxButton ID="ASPxButton13" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                Width="100px">
                                <ClientSideEvents Click="function(s, e) {
	popupUpdate.Hide();
}" />
                            </dx:ASPxButton>
                        </td>
                        <td></td>
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>
   <dx:ASPxPopupControl ID="popupError" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupError" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" 
                    EnableViewState="False" HeaderText="Mensaje" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
             Width="300px" EnableHotTrack="False">
                
                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                    </LoadingPanelImage>
                    <HeaderStyle>
                    <Paddings PaddingLeft="7px" />
                    </HeaderStyle>
                
                    <LoadingPanelStyle ImageSpacing="5px">
                    </LoadingPanelStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl6" runat="server" 
                         SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel7" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent7" runat="server">
                        <table>
                        <tr>
                        <td colspan="2">
                        
                        
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ingrese todo los campos !&nbsp;</td>
                        
                        </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                        <tr>
                        <td>
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                        <td>
                        
                            <dx:ASPxButton ID="ASPxButton14" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                Width="100px">
                                <ClientSideEvents Click="function(s, e) {
	popupError.Hide();
}" />
                            </dx:ASPxButton>
                        </td>
                        <td></td>
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>
   <dx:ASPxPopupControl ID="popupErrorAnular" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupErrorAnular" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" 
                    EnableViewState="False" HeaderText="Mensaje" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
             Width="300px" EnableHotTrack="False">
                
                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                    </LoadingPanelImage>
                    <HeaderStyle>
                    <Paddings PaddingLeft="7px" />
                    </HeaderStyle>
                
                    <LoadingPanelStyle ImageSpacing="5px">
                    </LoadingPanelStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl7" runat="server" 
                         SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel8" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent8" runat="server">
                        <table>
                        <tr>
                        <td colspan="2">
                        
                        
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Seleccione un registro !&nbsp; </td>
                        
                        </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                        <tr>
                         <td>
                             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                        <td>
                        
                            <dx:ASPxButton ID="ASPxButton15" runat="server" AutoPostBack="False" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Aceptar" 
                                Width="100px">
                                <ClientSideEvents Click="function(s, e) {
	popupErrorAnular.Hide();
}" />
                            </dx:ASPxButton>
                            </td>
                        <td>
                        
                            &nbsp;</td>
                       
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>
                <dx:ASPxPopupControl ID="popupAnularOK" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupAnularOK" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" 
                    EnableViewState="False" HeaderText="Mensaje" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
        Width="300px" EnableHotTrack="False">
                
                    

                    <loadingpanelimage url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                    

                    </loadingpanelimage>
                    

                    <HeaderStyle>

                    <paddings paddingleft="7px" />
                    

                    </HeaderStyle>
                    

                    <LoadingPanelStyle ImageSpacing="5px">
                    </LoadingPanelStyle>
                    

                    <contentcollection>
                    
                    <dx:PopupControlContentControl ID="PopupControlContentControl3" runat="server" 
                        SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel1" runat="server" DefaultButton="btCreate">
                    <panelcollection>
                        <dx:PanelContent ID="PanelContent1" runat="server">
                        <table>
                        <tr>
                        <td colspan="3">
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ¿Estás seguro de anular este registro?</td>
                        
                        </tr>
                            <tr>
                                <td colspan="3">
                                   </td>
                            </tr>
                            <tr>
                                <td colspan="3">
                                    </td>
                            </tr>
                        <tr>
                        <td>
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        
                           </td>
                        <td>
                        
                        
                            <dx:ASPxButton ID="btnPopAceptar" runat="server" AutoPostBack="False" 
                                ClientInstanceName="btnPopAceptar" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" OnClick="btnPopAceptar_Click" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Aceptar" 
                                Width="100px">
                                <clientsideevents click="function(s, e) {
	popupAnularOK.Hide();
	e.processOnServer = true;
}" />
                            </dx:ASPxButton>
                        </td>

                        <td>
                            <dx:ASPxButton ID="btnPopCancelar" runat="server" AutoPostBack="False" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Cancelar" 
                                Width="100px">
                                <clientsideevents click="function(s, e) {
	popupAnularOK.Hide();
}" />
                            </dx:ASPxButton>
                          </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:PanelContent>
    </panelcollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
                    
                    </contentcollection>
                    

                </dx:ASPxPopupControl>
                </div> 
          </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
